import request from '@/api/request'

//微信角色
export function getWxExpressInfos(params) {
  return request({
    url: '/sales/express_info/',
    method: 'GET',
    params
  })
}

export function addWxExpressInfo(data) {
  return request({
    url: '/sales/express_info/',
    method: 'POST',
    data
  })
}

export function updateWxExpressInfo(data) {
  return request({
    url: `/sales/express_info/${data.id}/`,
    method: 'PUT',
    data
  })
}
